package com.ruoyi.system.domain;


import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
/**
 * 返佣商户比例明细对象 order_contrast_business_detail
 *
 * @author hjf
 * @date 2025-06-06
 */
public class OrderContrastBusinessDetail {
    private static final long serialVersionUID = 1L;

    @ExcelIgnore
    private Long id;

    /**
     * 批次id
     */
    @ExcelProperty("批次id")
    @ColumnWidth(20)
    private String orderContrastId;

    /**
     * 订单id
     */
    @ExcelIgnore
    private Long orderId;

    @ExcelProperty("订单编号")
    @ColumnWidth(25)
    private String serial;

    @ExcelProperty("订单号码")
    @ColumnWidth(11)
    private String telnumber;
    /**
     * 用户标识号
     */
    @ExcelProperty("用户标识号")
    @ColumnWidth(16)
    private String identificationNumber;

    /**
     * 商户id
     */
    @ExcelProperty("商户Id")
    @ColumnWidth(8)
    private Long businessId;

    @ExcelProperty("商户名称")
    @ColumnWidth(16)
    private String businessName;

    /**
     * 出佣金额
     */
    @ExcelProperty("出佣金额")
    private BigDecimal price;

    /**
     * 政策名称
     */
    @ExcelProperty("政策名称")
    @ColumnWidth(26)
    private String policyName;

    /**
     * 1未入账 2入账成功3入账失败
     */
    @ExcelProperty(value = "是否入账", converter = OrderContrastBusinessDetailConverter.class)
    private Integer status;

    /**
     * 响应信息
     */
    @ExcelProperty("响应信息")
    private String response;

    /**
     * 入账时间
     */
    @ExcelProperty("入账账期")
    @ColumnWidth(6)
    private Integer ruzhangTime;


    @ExcelProperty("创建时间")
    @ColumnWidth(16)
//    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private Date createTime;


}
